#ifndef POICHECK_H
#define POICHECK_H

#pragma once

#include <QList>
#include "model/definecoor.h"

namespace ns_yht
{
    class ModelShip;
#define POICHECK PoiCheck::instance()

    class PoiCheck
    {
    public:
        PoiCheck();
        ~PoiCheck();

        static PoiCheck *instance();

        void check();

        void loadFeatures_yhtc();

    private:
        // QList<Feature> m_features;

        QList<Feature> m_features_collision;

        bool checkFeatures_yhtc(const Coordinates &alertArea, int &combinedType);
        void check_yhtc();

        QVector<int> m_riskareaTypeList;
        int m_riskareaType_max{0};

        static PoiCheck *m_instance;
    };

} // namespace ns_yht
#endif